<template>
  <div class="new-compute">
    <!-- <div id="canvas-frame" class="canvas_frame"></div> -->
    <iframe :src="`/static/pages/index.html?token=${getToken()}`" width="100%" height="100%" frameborder="0"></iframe>
  </div>
</template>

<script setup lang="ts">
/* import * as THREE from 'three';
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
import {threeStart} from './js/initPage.js' */ 
import { ref, onMounted } from 'vue';
import { setToken, getToken } from '@/utils/auth';
onMounted(()=>{ 
    // threeStart(0)
    console.log(getToken());
    
})
</script>

<style scoped lang="scss">
.new-compute {
  width: 100%;
  height: calc(100vh - 120px);
}
</style>